﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PluginInterface;
using Buccontrols;

namespace Buccaneer
{
    public class ShowEnvironmentVariabeleAction : PluginAction
    {
        public ShowEnvironmentVariabeleAction()
        {
            base.name = "showenvar";
            base.func = new ActionFunction(this.ShowEnvironmentVariable);
            base.pluginDaddy = MainProgram.MainForm;
            
        }

        public void ShowEnvironmentVariable(string[] args)
        {
            OptionsCollection oc = Options.Settings.Get(args[0]);
            Options.WriteComment("(i) Variable " + args[0] + " is " + oc.Value);
        }
    }
}
